<div class="page-header">
  <span>{{page_info.widget_title}}</span>
  <div class="pull-right ">
    <input type="text" placeholder="输入日期如 2015/02/03" ng-model="page_info.to" />
    <button class="btn btn-xs btn-success" ng-click="searchHoldRate()">截止日期</button>
  </div>
  <div class="clearfix"></div>
</div>
<table class="table table-hover table-bordered">
  <thead>
    <tr>
      <th>序号</th>
      <th>证书名称</th>
      <th>应持有量</th>
      <th>实际持有量</th>
      <th>有效持有量</th>
      <th>持有率</th>
      <th>有效持有率</th>
    </tr>
  </thead>
  <tbody>
    <tr ng-repeat="hold_rate in page_info.perpage_items">
      <td>{{$index + 1}}</td>
      <td>{{hold_rate.paper_type.name}}</td>
      <td>{{hold_rate.numbers.supposed}}</td>
      <td>{{hold_rate.numbers.real}}</td>
      <td>{{hold_rate.numbers.valid}}</td>
      <td>{{actualHoldRates(hold_rate.numbers.supposed, hold_rate.numbers.real) | percentage}}</td>
      <td>{{actualHoldRates(hold_rate.numbers.supposed, hold_rate.numbers.valid) | percentage}}</td>
    </tr>
  </tbody>
</table>
<pagination ng-if="filter_rates.length > page_info.perpage_count" total-items="filter_rates.length" items-per-page="page_info.perpage_count" ng-model="page_info.current_page" ng-change="pageChanged()" previous-text="上一页" next-text="下一页"></pagination>
